package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsUserRoleDaoImpl;
import com.educate.upms.model.bo.UpmsUserRoleBO;
import com.educate.upms.model.po.UpmsUserRole;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsUserRoleDao extends MongoRepository<UpmsUserRole, String> {

    /**
     * #{@link UpmsUserRoleDaoImpl#query(UpmsUserRoleBO, Pageable)}
     */
    Page<UpmsUserRole> query(UpmsUserRoleBO bo, Pageable pageable);
}
